negotiator.tournament.VariablesAndValues
Class AgentParameterVariable

java.lang.Object
  extended by negotiator.tournament.VariablesAndValues.TournamentVariable
      extended by negotiator.tournament.VariablesAndValues.AgentParameterVariable
All Implemented Interfaces:
java.io.Serializable

public class AgentParameterVariable
extends TournamentVariable

ProfileVariable is a variable for a tournament, indicating that the profile is to be manipulated. It just is an indicator for the TournamentVariable that its value array contains a ProfileValue.

Author:
wouter
See Also:
Serialized Form

Constructor Summary
AgentParameterVariable(AgentParam para)
           
 
Method Summary
 void addValue(TournamentValue v)
          add given value to the array of values
 boolean equals(java.lang.Object obj)
           
 AgentParam getAgentParam()
           
 int hashCode()
           
 java.lang.String varToString()
          varToString converts the variable name into a string.
 
Methods inherited from class negotiator.tournament.VariablesAndValues.TournamentVariable
getValues, setValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentParameterVariable

public AgentParameterVariable(AgentParam para)
Parameters:
para - the parameter info
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

addValue

public void addValue(TournamentValue v)
              throws java.lang.Exception
Description copied from class: TournamentVariable
add given value to the array of values

Specified by:
addValue in class TournamentVariable
Throws:
java.lang.Exception

getAgentParam

public AgentParam getAgentParam()

varToString

public java.lang.String varToString()
Description copied from class: TournamentVariable
varToString converts the variable name into a string. It shound NOT convert the values, only the variable name and its parameters (eg AgentParam[tau])

Specified by:
varToString in class TournamentVariable